/*
 * @Author: lijing
 * @e-mail: 1413979079@qq.com
 * @LastEditors: lijing
 * @Date: 2019-10-26 17:14:27
 * @LastEditTime: 2020-05-15 12:20:28
 * @FilePath: \client\src\router\admin.js
 * @Description: 管理界面路由
 */
export default {
  // 管理界面路由
  path: '/admin',
  component: () => import('@/views/admin'),
  children: [
    {
      path: '/',
      component: () => import('@/views/admin/Dashboard')
    },
    {
      path: 'dashboard',
      component: () => import('@/views/admin/Dashboard')
    },
    {
      path: 'manage',
      name: 'ArticlesManagement',
      component: () => import('@/views/admin/ArticlesManagement')
    },
    {
      path: 'editor',
      name: 'WriteArticle',
      component: () => import('@/views/admin/WriteArticle')
    },
    {
      path: "setting",
      name: "Setting",
      component: () => import('@/views/admin/Setting')
    },
    {
      path: "login",
      name: "Login",
      component: () => import('@/views/admin/Login')
    }
  ]
}